home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000…tember: Reference Library / Dev.CD Sep 00 RL Disk 1.toast / mac / Technical Documentation / Develop / develop Issue 27 / develop Issue 27 code / Internet Config Assistant / toolkit / NeoTextBox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-30  |  978 b   |  38 lines  |  [TEXT/CWIE]

  1. /*****************************************************************************************
  2.  
  3.   NeoTextBox.h - include file for NeoTextBox
  4.  
  5.   Written by Bryan K. Ressler (Beaker)
  6.  
  7. *****************************************************************************************/
  8.  
  9. #include <Quickdraw.h>
  10.  
  11. /** DEFINES *****************************************************************************/
  12. #define ntbJustFull            128            /* Full justification */
  13. #define kReturnChar            0x0d        /* Carriage return character */
  14.  
  15. /** MACROS ******************************************************************************/
  16. #define MAXOF(a,b)    (((a) > (b)) ? (a) : (b))
  17.  
  18. /** PUBLIC PROTOTYPES *******************************************************************/
  19.  
  20. #ifdef __cplusplus
  21. extern "C"
  22. {
  23. #endif
  24.  
  25.     short NeoTextBox(unsigned char const* theText,
  26.                      unsigned long textLen,
  27.                      const Rect* box,
  28.                      short just,
  29.                      short htCode,
  30.                      short* endY,
  31.                      short* lhUsed);
  32.  
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36.  
  37.  
  38.